package com.sinochem.iot.rule.mapper;

import com.sinochem.iot.rule.model.TriggerRule;
import com.sinochem.iot.rule.model.TriggerRuleExample;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TriggerRuleMapper {
    /**
     *
     * @mbggenerated
     */
    int countByExample(TriggerRuleExample example);

    /**
     *
     * @mbggenerated
     */
    int deleteByPrimaryKey(Integer id);

    /**
     *
     * @mbggenerated
     */
    int insert(TriggerRule record);

    /**
     *
     * @mbggenerated
     */
    int insertSelective(TriggerRule record);

    /**
     *
     * @mbggenerated
     */
    List<TriggerRule> selectByExample(TriggerRuleExample example);

    /**
     *
     * @mbggenerated
     */
    TriggerRule selectByPrimaryKey(Integer id);

    /**
     *
     * @mbggenerated
     */
    int updateByPrimaryKeySelective(TriggerRule record);

    /**
     *
     * @mbggenerated
     */
    int updateByPrimaryKey(TriggerRule record);
}